//
//  StatusTable.h
//  AirQuality
//
//  Created by Po on 15/5/7.
//  Copyright (c) 2015年 Po. All rights reserved.
//  状态列表

#import <UIKit/UIKit.h>

@protocol RJStatusTableCellDelegate;

@interface RJStatusTable : UIViewController
@property (retain, nonatomic) UITableView * tableView;
@property (assign, nonatomic) id<RJStatusTableCellDelegate> delegate;

- (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style;

/**获取数据*/
- (void)setData:(NSDictionary *)data;

/**刷新数据*/
- (void)updateData;

@end


@protocol RJStatusTableCellDelegate <NSObject>

- (void)RJStatusTable:(RJStatusTable *)table rowNum:(NSInteger)rowNum cityCode:(NSNumber *)code;

/**网络请求失败*/
- (void)netRequsetFail;

@end
